package com.seres.config.entity;

import com.seres.vo.BaseTree;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @author Tan-Bowen
 * @version 1.0
 * @description TODO
 * @date 2021/9/23 15:30
 */

@Data
@Builder
@ApiModel("部门信息树")
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class DeptTree extends BaseTree<DeptTree> {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("上级id")
    private Long pid;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("1启用")
    private Integer state;

    @ApiModelProperty("机构描述")
    private String remark;

    @ApiModelProperty("创建人")
    private Long createUser;
}
